export function checkPermission(requiredPermission) {
  // 这里应该从用户的登录信息中获取权限
  const   adminPermissions = ["admin:read", "admin:write"];
  return adminPermissions.includes(requiredPermission);
}
